(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/utility.h>
LONG AttemptRemNamedObject()
SYNOPSIS
struct NamedObject * object

LOCATION
In UtilityBase at offset 39
FUNCTION
Checks to see whether a NamedObject can be removed. If the object is in use, or in the process of being removed, this function will return a failure code. If the object can be removed, this function will remove it and the object will be available for freeing. You must have previously have called FindNamedObject() on this object.

INPUTS
object
NamedObject to attempt to remove. The address of the NameSpace is contained within the NamedObject.
RESULT
If the NamedObject can be removed, then it will be removed from the list. Otherwise the routine will just return.

If the NamedObject has a removal message associated with it that message will be returned to the owner of the NamedObject.

NOTES
EXAMPLE
BUGS
SEE ALSO
utility/name.h RemNamedObject(), AddNamedObject()
INTERNALS
HISTORY
27.01.1997 ldp
Polish
18.12.1996 iaint
NamedObjects